package com.pro.service.imple;

import com.pro.mapper.JsLogMapper;
import com.pro.pojo.JsLog;
import com.pro.service.JsLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsLogServiceImple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2022/1/8 16:35
 * @Author: ZPT
 */
@Service
public class JsLogServiceImple implements JsLogService {
    @Autowired(required = false)
    private JsLogMapper jsLogMapper;

    @Override
    public List<JsLog> getLog(Integer logType,String trueName,String createDate,String type) {
        return jsLogMapper.getLog(logType,trueName,createDate,type);
    }

    @Override
    public Boolean deleteLog(Integer logId) {
        return jsLogMapper.deleteLog(logId);
    }
}
